@import '~ng-devui/styles-var/devui-var.scss';

.myCollection {
  min-height: calc(100vh - 71px - 330px);
  margin: 0 8.5%;

  .collection {
    width: 18%;
    display: inline-block;
    margin-right: 2.5%;

    &:nth-of-type(5n) {
      margin-right: 0;
    }

    &>div:not(:first-child) {
      margin-top: 5px;
      text-align: center;
    }

    .imgDiv {
      width: 100%;
      cursor: pointer;
      margin-top: 20px;

      img {
        border-radius: 6px;
        width: 100%;
      }
    }

    &>div:nth-child(2) {
      img {
        width: 12px;
        margin-left: 5px;
        vertical-align: text-top;
      }

      .icon-copy {
        cursor: pointer;
      }
    }
  }

  .voidData {
    width: 100px;
    height: 100px;
    background: url('../../assets/avatar/void.png') no-repeat center;
    background-size: 100px;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);

    &::after {
      content: '您还没有拥有藏品!';
      width: 150px;
      position: absolute;
      bottom: -20px;
      word-wrap: normal;
    }
  }

  .pagination {
    min-height: 70px;
    background: $devui-base-bg;
    position: relative;
  }
}
